WriteStandardCRUDRepo

interface WriteStandardCRUDRepo<ObjectType, IdType, InputValueType> : Repo

Functions

Link copied to clipboard
abstract suspend fun create(values: List<InputValueType>): List<ObjectType>
Link copied to clipboard
abstract suspend fun deleteById(ids: List<IdType>)
Link copied to clipboard
abstract suspend fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
abstract suspend fun update(id: IdType, value: InputValueType): ObjectType?

Properties

Link copied to clipboard
abstract val deletedObjectsIdsFlow: Flow<IdType>
Link copied to clipboard
abstract val newObjectsFlow: Flow<ObjectType>
Link copied to clipboard
abstract val updatedObjectsFlow: Flow<ObjectType>

Inheritors

CRUDCacheRepo
Link copied to clipboard
StandardCRUDRepo
Link copied to clipboard
WriteMapCRUDRepo
Link copied to clipboard
Link copied to clipboard
KtorStandardCrudRepo
Link copied to clipboard
KtorWriteStandardCrudRepo
Link copied to clipboard
Link copied to clipboard

Extensions

create
Link copied to clipboard
deleteById
Link copied to clipboard
suspend fun <ObjectType, IdType, InputValueType> WriteStandardCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
suspend fun <ObjectType, IdType, InputValueType> WriteStandardCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
suspend fun <ObjectType, IdType, InputValueType> WriteStandardCRUDRepo<ObjectType, IdType, InputValueType>.deleteById(vararg ids: IdType)
update
Link copied to clipboard